<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">


<head>
<title>Main Menu</title>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
</head>
<body>
	<div class="navbar navbar-default navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle"></button>
				<a class="navbar-brand">Projet MDOC</a>
			</div>
			<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li class="active"><a href="mainPage.xhtml">Home</a></li>
					<li class="active"><a href="addContact.xhtml">Add Contact</a></li>
					<li class="active"><a href="searchContact.xhtml">Modify/Delete
							Contact</a></li>
					<li class="active"><a href="searchContact.xhtml">Search
							Contact</a></li>
				</ul>
			</div>
		</div>
	</div>
	<br />
	<br />
	<br />
	<div style="padding-left: 50px;">
		<h1 class="form-signin-heading">Welcome to the main page</h1>
		<h:form>
			<!-- 			<p>
				<h:commandLink value="Ajouter contact"
					action="#{redirectionController.redirectToAdd()}" />
			</p>
			<p>
				<h:commandLink value="Modifier/Supprimer contact"
					action="#{redirectionController.redirectToListContact()}" />
			</p> -->
			<p>
				<h:commandButton action="#{redirectionController.testCache()}"
					value="TestCache" type="submit" styleClass="btn btn-primary" />
			</p>
			<p>
				<h:commandButton action="#{redirectionController.feedDataBase}"
					value="Populate Database" type="submit"
					styleClass="btn btn-primary" />
			</p>
		</h:form>
	</div>
</body>
</html>